# 导入 RadioSelect 插件
from django.forms import RadioSelect


class ColorRadioSelect(RadioSelect):  # 继承
    # 默认
    # template_name = "django/forms/widgets/radio.html"
    # option_template_name = "django/forms/widgets/radio_option.html"

    # 新定义
    template_name = "widgets/color_radio/radio.html"
    option_template_name = "widgets/color_radio/radio_option.html"
